import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { MessageNotificationPage } from './message-notification.page';
import { MessageNotificationResolver } from './message-notification-resolver.service';
const routes: Routes = [
  {
    path: '',
    component: MessageNotificationPage,
    resolve:{
      data:MessageNotificationResolver
    }
  },
  {
    path: 'duedate-reminder',
    loadChildren: () => import('./duedate-reminder/duedate-reminder.module').then( m => m.DuedateReminderPageModule)
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers:[MessageNotificationResolver]
})
export class MessageNotificationPageRoutingModule {}
